package com.atguigu.service;

import com.atguigu.pojo.Setmeal;
import com.atguigu.vo.PageResult;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;
import java.util.Map;

public interface SetmealService {
    PageResult findPage(Integer currentPage, Integer pageSize, String queryString);

    void add(Integer[] travelgroupIds, Setmeal setmeal);

    Setmeal findById(Integer id);

    List<Setmeal> findAll();

    List<Integer> findTravelgroupIdBySetmealId(Integer id);

    void update(Integer[] travelgroupIds, Setmeal setmeal);

    void delete(Integer id);

    Setmeal findSetmealById(Integer id);

    List<Map<String, Object>> findSetmealNamesAndSetmealCount();



}
